package org.travel.app.entity.user;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.travel.app.entity.ticket.TicketDiscount;

/**
 * @author nmm
 * @date 2024-12-2024/12/26
 * @deriction 用户使用的优惠券信息
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class UserDiscountTicket {
    /**
     * 用户id
     */
    private Integer userId;

    /**
     * 优惠券
     */
     private TicketDiscount ticketDiscount;

    /**
     * 记录用户优惠券数量
     */
    private Integer  quantity;
}